package org.example.server.server;


import com.google.common.collect.Lists;
import org.example.server.dto.BaseDto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author shkstart
 * @create 2020-03-24 21:23
 */
@Service
public class BaseService {
    //private static  final Logger log= LoggerFactory.getLogger(BaseService.class);
    public List<BaseDto> getList(){
        List<BaseDto> dtos= Lists.newLinkedList();
        dtos.add(new BaseDto(1,"java实战1"));
        dtos.add(new BaseDto(2,"java实战2"));
        return dtos;


    }
}
